package com.share.wechat.file.repository.inter;

import com.share.wechat.file.entity.FileEntity;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface FileRepository extends CrudRepository<FileEntity, String> {
    /**
     * 根据文件名查找
     *
     * @param fileName 文件名
     * @return FileEntity
     */
    FileEntity findByFileName(String fileName);


}
